const { ccclass, property } = cc._decorator;

@ccclass
export default class MomGivesMoneyPage extends cc.Component {
    @property(cc.Node)
    MomGivesMoneyPage = null;
    @property(cc.Node)
    pageback = null;
    @property(cc.Node)
    btn_video = null;
    @property(cc.Node)
    redPaper = null;
    @property(cc.Node)
    btn_close = null;

    onLoad() {
        this.MomGivesMoneyPage = this.node;
        this.pageback = this.MomGivesMoneyPage.getChildByName("pageback");
        this.btn_video = this.pageback.getChildByName("btn_video");
        this.redPaper = this.btn_video.getChildByName("redPaper");
        this.btn_close = this.pageback.getChildByName("btn_close");
    }

    static  URL = "db://assets/resources/pages/MomGivesMoneyPage.prefab";

}

